package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author: Allen chen
 * @Date 2020/8/12
 * @Description:
 */

@Data
@ApiModel(value="GoodsDTO对象", description="商品")
public class GoodsPnDTO extends BasicEntity {

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属货主")
    private String shipmentCode;

    @ApiModelProperty(value = "登录仓库授权该账号的货主集合",hidden = true)
    private List<String> shipmentCodes;

    @ApiModelProperty(value = "仓库",hidden = true)
    private String warehouseCode;


    @ApiModelProperty(value = "商品标识",hidden = true)
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "pn码")
    private String pn;


    @ApiModelProperty(value = "所属机构",hidden = true)
    private String groupCode;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

}
